package com.atguigu.yygh.orders.mapper;

import com.atguigu.yygh.model.order.OrderInfo;
import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import com.atguigu.yygh.vo.order.OrderCountVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ztz
 * @since 2022-03-17
 */
@Repository
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

    //查看具体一个日期段得预约数量
    List<OrderCountVo> getCountByOrderCountVo(OrderCountQueryVo orderCountQueryVo);

}
